/*
 * @Author: your name
 * @Date: 2021-11-03 17:08:51
 * @LastEditTime: 2021-11-04 17:30:05
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \react-qunaer\src\index\store\index.js
 */
import {createStore, combineReducers, applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
import reducers from './reducers'

export default createStore(
  combineReducers(reducers),
  {
    from: '北京',
    to: '上海',
    isCitySelectorVisible: false,
    currentSelectingLeftCity: false,
    cityData: null,
    isLoadingCityData: false,
    isDateSelectorVisible: false,
    departDate: Date.now(),
    highSpeed: false, //是否只看高铁动车
  },
  applyMiddleware(thunk)
)
